package com.cn.admin.dao;


import com.cn.admin.entity.Menu;
import com.cn.admin.utils.MyMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MenuMapper extends MyMapper<Menu> {

    List menuTreeList();

    List menuTreeListByMenuIds(@Param(value = "menuIds") List<Long> menuIds);

    List<String> getResUrlsByRoleId(@Param(value = "roleId")Integer roleId);
}
